home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Part Server.2 < prev    next >
Encoding:
Internet Message Format  |  1996-07-09  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Part Server
  2. Sent:        7/9/96 4:26 PM
  3. Received:    7/9/96 4:51 PM
  4. From:        Greg Friedman, friedman@cognosis.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Serge Froment wrote:
  9. > I have several OpenDoc parts that will read/write their data from/to the
  10. > network. There will also be a local cache file for that data. Since there
  11. > may be several instance of my OpenDoc parts open in different documents,
  12. > the parts cannot manage the cache file directly. So I thought having a
  13. > background task to serve all my OpenDoc parts, managing the cache file and
  14. > performing network communication.
  15. >
  16. > I see two methods to communicate information between my parts and my
  17. > background part server:
  18. >
  19. > 1. AppleEvents
  20. > 2. OD extensions
  21. >
  22. > What is the best way?
  23. >
  24. > If OD extensions is the best way, then how can a background task
  25. > communicate with the extension of an OpenDoc part?
  26.  
  27. AppleEvents are the sanctioned mechanism for interprocess communication on
  28. the Mac.
  29.  
  30. Alternatively, it should be possible, using a shared data section and
  31. shared memory (probably allocated out of the system heap), to create a
  32. shared library that implemented interprocess communication without apple
  33. events. It's more work, but it might provide better performance.
  34.  
  35. Greg Friedman.
  36.  
  37.  
  38. ___________________________________________________________
  39.  Greg Friedman       ODF Engineering        Apple Computer
  40.  
  41.  
  42.